package aiowang.springframe.mybatis.pojo;

import java.io.Serializable;

/**
 * @author aiowang
 * @description:
 * @date 2021/8/16 14:35
 */
public class User implements Serializable {

    //id
    private Integer id;
    //用户名
    private String userName;
    //年龄
    private Integer age;

    public User() {
    }



    public User(Integer id, String userName, Integer age) {
        this.userName = userName;
        this.id = id;
        this.age = age;
    }

    @Override
    public String toString() {
        return "User [username=" + userName + ", age=" + age + "]";
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
